Jump to content

- PBXScript

- # PBXScript.Now

  Followers 0

  VBScript → Lua SwxWare v13.27

  This function returns the script entities (user or user group) current date and time.

      PBXScript.Now

  This function returns a datetime value.

  Unlike the VBScript build-in function Now, which returns the local date and time of the SwyxWare machine, this function returns the current time according to the time-zone the script entity (user or user group) is located in. Please note that for group call routing the default location is used for the used time-zone.

  The time-zone is configured within the Location settings, and every user or user group is linked to a Location.

  This function is identical to the GSE build-in function CurDateTime().

  By Tom Wellige

  - May 19, 2023
  Share
  Share
  Followers 0

## Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.